package org.dxy.middleware.dynamic.thread.pool.application.query.repository;

import org.dxy.middleware.dynamic.thread.pool.application.view.ThreadPoolView;
import org.dxy.middleware.dynamic.thread.pool.domain.model.ThreadPoolAggregate;

import java.util.List;

public interface AThreadPoolQueryRepository {
    ThreadPoolView findByAppNameAndPoolName(String appName, String poolName);

    List<ThreadPoolView> findAll();

    void save(ThreadPoolView view);

    void update(ThreadPoolAggregate threadPoolAggregate);
}
